//
//  YWMeterReadingRecord.m
//  maintain
//
//  Created by 郑想 on 16/2/24.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import "MJExtension.h"
#import "YWMeterReadingRecord.h"
#import "YWEquipment.h"

@implementation YWMeterReadingRecord
+ (NSDictionary*)mj_replacedKeyFromPropertyName
{
    return @{ @"thisReadNumber" : @"reading",
              @"readingTime" : @"createTime",
              };
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{@"pictures":@"YWPatrolPicture"};
}
- (void)mj_keyValuesDidFinishConvertingToObject{
    self.equipmentId = self.equipment.equipmentId;
    self.equipmentTypeId = self.equipment.equipmentTypeId;
}
@end
